<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Karamelo: solid.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="karamelodoxy.css" rel="stylesheet" type="text/css">
<!--  -->
<script type="text/javascript" src="karamelo_navtree_hacks.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.karamelo.org"><img alt="Logo" src="Karamelo_logo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname"><a href="http://www.karamelo.org">Karamelo</a>
   &#160;<span id="projectnumber">714599e9</span>
   </div>
   <div id="projectbrief">Parallel Material Point Method Simulator</div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('solid_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">solid.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* -*- c++ -*- ----------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *                    ***       Karamelo       ***</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *               Parallel Material Point Method Simulator</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * </span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * Copyright (2019) Alban de Vaucorbeil, alban.devaucorbeil@monash.edu</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * Materials Science and Engineering, Monash University</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * Clayton VIC 3800, Australia</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * This software is distributed under the GNU General Public License.</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * ----------------------------------------------------------------------- */</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#ifndef MPM_SOLID_H</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#define MPM_SOLID_H</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;pointers.h&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;material.h&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;grid.h&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;Eigen/Eigen&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespaceEigen.html">Eigen</a>;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classSolid.html">   36</a></span>&#160;<span class="keyword">class </span><a class="code" href="classSolid.html">Solid</a> : <span class="keyword">protected</span> <a class="code" href="classPointers.html">Pointers</a> {</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classSolid.html#a771d592f353985bf575f1235c910013f">   38</a></span>&#160;  <span class="keywordtype">string</span> <a class="code" href="classSolid.html#a771d592f353985bf575f1235c910013f">id</a>;                                </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classSolid.html#a64af6fa84058934e53affdc750281c0a">   39</a></span>&#160;  bigint <a class="code" href="classSolid.html#a64af6fa84058934e53affdc750281c0a">np</a>;                                </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classSolid.html#aa98af10fa7a2f269847ffc07898e1647">   40</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classSolid.html#aa98af10fa7a2f269847ffc07898e1647">np_local</a>;                             </div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classSolid.html#aac7104d1b271229b2f2297602bf4b6f6">   41</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classSolid.html#aac7104d1b271229b2f2297602bf4b6f6">comm_n</a>;                               </div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classSolid.html#aee7225f643e57e61dd1d07942cb7b70e">   42</a></span>&#160;  <span class="keywordtype">double</span> <a class="code" href="classSolid.html#aee7225f643e57e61dd1d07942cb7b70e">vtot</a>;                              </div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classSolid.html#a88fe233444aeb9e0c919bb1f9d64de93">   43</a></span>&#160;  <span class="keywordtype">double</span> <a class="code" href="classSolid.html#a88fe233444aeb9e0c919bb1f9d64de93">mtot</a>;                              </div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classSolid.html#a08b90d10c0416ca437f83376f451f072">   45</a></span>&#160;  vector&lt;tagint&gt; <a class="code" href="classSolid.html#a08b90d10c0416ca437f83376f451f072">ptag</a>;                      </div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classSolid.html#a6bf794f9a4a62e5368529eeb142462e8">   47</a></span>&#160;  <span class="keywordtype">double</span> solidlo[3], solidhi[3];            </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classSolid.html#aba36323d2a47e01ffb1f96d65d1f52bf">   48</a></span>&#160;  <span class="keywordtype">double</span> solidsublo[3], solidsubhi[3];      </div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classSolid.html#a8c4f6f8682e7379f6bb1aab147b45188">   50</a></span>&#160;  vector&lt;Eigen::Vector3d&gt; <a class="code" href="classSolid.html#a8c4f6f8682e7379f6bb1aab147b45188">x</a>;                </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classSolid.html#a5a2efd6e797c3fb86a4176dba6188bce">   51</a></span>&#160;  vector&lt;Eigen::Vector3d&gt; <a class="code" href="classSolid.html#a5a2efd6e797c3fb86a4176dba6188bce">x0</a>;               </div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  </div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classSolid.html#aa7d152598188767ccc3bbdefb21e2b8c">   54</a></span>&#160;  vector&lt;Eigen::Vector3d&gt; <a class="code" href="classSolid.html#aa7d152598188767ccc3bbdefb21e2b8c">rp</a>;               </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classSolid.html#ac0a137db6950e7f95a99a938a5dbd66b">   55</a></span>&#160;  vector&lt;Eigen::Vector3d&gt; <a class="code" href="classSolid.html#ac0a137db6950e7f95a99a938a5dbd66b">rp0</a>;              </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classSolid.html#a9f24e3b981bfa23386ea57173498dbc4">   56</a></span>&#160;  vector&lt;Eigen::Vector3d&gt; <a class="code" href="classSolid.html#a9f24e3b981bfa23386ea57173498dbc4">xpc</a>;              </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classSolid.html#a3f07240b8a69ebc94c2b804dc0ba17d6">   57</a></span>&#160;  vector&lt;Eigen::Vector3d&gt; <a class="code" href="classSolid.html#a3f07240b8a69ebc94c2b804dc0ba17d6">xpc0</a>;             </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classSolid.html#a68000a14e932c9d485959bbcdd696e35">   58</a></span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classSolid.html#a68000a14e932c9d485959bbcdd696e35">nc</a>;                                   </div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  </div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classSolid.html#a098800d2d03607579156e57abe501d20">   60</a></span>&#160;  vector&lt;Eigen::Vector3d&gt; <a class="code" href="classSolid.html#a098800d2d03607579156e57abe501d20">v</a>;                </div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classSolid.html#a918cb701b55d4e8e6fec2d89e3db6475">   61</a></span>&#160;  vector&lt;Eigen::Vector3d&gt; <a class="code" href="classSolid.html#a918cb701b55d4e8e6fec2d89e3db6475">v_update</a>;         </div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classSolid.html#a8cd187bb8c7c1c8c48ec08de08c8e9c0">   63</a></span>&#160;  vector&lt;Eigen::Vector3d&gt; <a class="code" href="classSolid.html#a8cd187bb8c7c1c8c48ec08de08c8e9c0">a</a>;                </div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classSolid.html#a13832fcbe5b124ee4f4e1c143ea06560">   65</a></span>&#160;  vector&lt;Eigen::Vector3d&gt; <a class="code" href="classSolid.html#a13832fcbe5b124ee4f4e1c143ea06560">mbp</a>;              </div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classSolid.html#a4937f68a0a4ed22a8921bd9d1ee787c6">   66</a></span>&#160;  vector&lt;Eigen::Vector3d&gt; <a class="code" href="classSolid.html#a4937f68a0a4ed22a8921bd9d1ee787c6">f</a>;                </div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classSolid.html#ab30f3cf0cb83d009d522cebade42ecf5">   68</a></span>&#160;  vector&lt;Eigen::Matrix3d&gt; <a class="code" href="classSolid.html#ab30f3cf0cb83d009d522cebade42ecf5">sigma</a>;            </div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classSolid.html#a67c4edb04af12e80ca6e3ea375b48569">   69</a></span>&#160;  vector&lt;Eigen::Matrix3d&gt; <a class="code" href="classSolid.html#a67c4edb04af12e80ca6e3ea375b48569">strain_el</a>;        </div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classSolid.html#a99f8130c120665a22c666e1ebc03f68c">   70</a></span>&#160;  vector&lt;Eigen::Matrix3d&gt; <a class="code" href="classSolid.html#a99f8130c120665a22c666e1ebc03f68c">vol0PK1</a>;          </div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classSolid.html#a96c832828355e2f95b9cc6d8d82d4b44">   71</a></span>&#160;  vector&lt;Eigen::Matrix3d&gt; <a class="code" href="classSolid.html#a96c832828355e2f95b9cc6d8d82d4b44">L</a>;                </div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classSolid.html#ab24e3074e332337edc3a50ac0c7c349f">   72</a></span>&#160;  vector&lt;Eigen::Matrix3d&gt; <a class="code" href="classSolid.html#ab24e3074e332337edc3a50ac0c7c349f">F</a>;                </div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classSolid.html#adfe636df56b69b2f22cdf6510ac8fc18">   73</a></span>&#160;  vector&lt;Eigen::Matrix3d&gt; <a class="code" href="classSolid.html#adfe636df56b69b2f22cdf6510ac8fc18">R</a>;                </div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classSolid.html#a7debcbf83f8da327beedc96e43279bc8">   74</a></span>&#160;  vector&lt;Eigen::Matrix3d&gt; <a class="code" href="classSolid.html#a7debcbf83f8da327beedc96e43279bc8">D</a>;                </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classSolid.html#a3a6cdb55e77f6f3b354498652aad8b3f">   75</a></span>&#160;  vector&lt;Eigen::Matrix3d&gt; <a class="code" href="classSolid.html#a3a6cdb55e77f6f3b354498652aad8b3f">Finv</a>;             </div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classSolid.html#ac2c182d6caba2969c8ab563288551cfa">   76</a></span>&#160;  vector&lt;Eigen::Matrix3d&gt; <a class="code" href="classSolid.html#ac2c182d6caba2969c8ab563288551cfa">Fdot</a>;             </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classSolid.html#ad70464718cb4e3e177eb53dd267abf14">   77</a></span>&#160;  vector&lt;Eigen::Matrix3d&gt; <a class="code" href="classSolid.html#ad70464718cb4e3e177eb53dd267abf14">Di</a>;               </div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classSolid.html#ae16964861984431ed2405cde326fec3f">   79</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#ae16964861984431ed2405cde326fec3f">J</a>;                         </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classSolid.html#a558d29bb506fa312acbf30b54464ae73">   80</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#a558d29bb506fa312acbf30b54464ae73">vol0</a>;                      </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classSolid.html#a156471c290271d5772bd7aaacc1fd141">   81</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#a156471c290271d5772bd7aaacc1fd141">vol</a>;                       </div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classSolid.html#a0921b8952e0e7f7023d2167db264a826">   82</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#a0921b8952e0e7f7023d2167db264a826">rho0</a>;                      </div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classSolid.html#a04427c65af63fe2dcd1e1f38b8c6b7d4">   83</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#a04427c65af63fe2dcd1e1f38b8c6b7d4">rho</a>;                       </div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classSolid.html#a5732fbf51a00b533f04c62d6f310c646">   84</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#a5732fbf51a00b533f04c62d6f310c646">mass</a>;                      </div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classSolid.html#a3889ec4cc14bddb5173ab8786a84353c">   85</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#a3889ec4cc14bddb5173ab8786a84353c">eff_plastic_strain</a>;        </div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classSolid.html#ab844cf723a989d091ed295a92e195a01">   86</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#ab844cf723a989d091ed295a92e195a01">eff_plastic_strain_rate</a>;   </div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classSolid.html#a9d6e4ad90d094ed232569f19f3cb7d95">   87</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#a9d6e4ad90d094ed232569f19f3cb7d95">damage</a>;                    </div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classSolid.html#af66d484d99a1bf88c2c6f395c6ef5cb0">   88</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#af66d484d99a1bf88c2c6f395c6ef5cb0">damage_init</a>;               </div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classSolid.html#a9360b40e90e66f55bf4b96371d099123">   89</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#a9360b40e90e66f55bf4b96371d099123">T</a>;                         </div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classSolid.html#aafddf7773c6ee9a2d9be11b1e2e3bef8">   90</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#aafddf7773c6ee9a2d9be11b1e2e3bef8">ienergy</a>;                   </div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classSolid.html#ae1c3a1948f3ede54103ec5568b9ad608">   91</a></span>&#160;  vector&lt;double&gt; <a class="code" href="classSolid.html#ae1c3a1948f3ede54103ec5568b9ad608">pH_regu</a>;                   </div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classSolid.html#af75c04b1ad8cec17173e8acaa6319568">   92</a></span>&#160;  vector&lt;int&gt; <a class="code" href="classSolid.html#af75c04b1ad8cec17173e8acaa6319568">mask</a>;                         </div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  vector&lt;bool&gt; check;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classSolid.html#a8c90f9e2e46fdcec899626dc09f10222">   95</a></span>&#160;  <span class="keywordtype">double</span> <a class="code" href="classSolid.html#a8c90f9e2e46fdcec899626dc09f10222">max_p_wave_speed</a>;                  </div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  <span class="keywordtype">double</span> dtCFL;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classSolid.html#a6c1b0a0c697475c2facdc4440577629d">   98</a></span>&#160;  vector&lt;int&gt; <a class="code" href="classSolid.html#a6c1b0a0c697475c2facdc4440577629d">numneigh_pn</a>;                  </div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classSolid.html#a60e8959630229b3c18b34959b5e72eda">   99</a></span>&#160;  vector&lt;int&gt; <a class="code" href="classSolid.html#a60e8959630229b3c18b34959b5e72eda">numneigh_np</a>;                  </div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classSolid.html#a52c355a66e506e56cf56206127c79687">  100</a></span>&#160;  vector&lt;vector&lt;int&gt;&gt; <a class="code" href="classSolid.html#a52c355a66e506e56cf56206127c79687">neigh_pn</a>;             </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classSolid.html#a88e0782ec40502f1f2164eb00c137f08">  101</a></span>&#160;  vector&lt;vector&lt;int&gt;&gt; <a class="code" href="classSolid.html#a88e0782ec40502f1f2164eb00c137f08">neigh_np</a>;             </div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classSolid.html#abaeff4d98b63626f93c36d9f7d2ec94e">  103</a></span>&#160;  vector&lt;vector&lt; double &gt;&gt; <a class="code" href="classSolid.html#abaeff4d98b63626f93c36d9f7d2ec94e">wf_pn</a>;           </div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classSolid.html#aa4fc6367904864de3ef61047a802c1df">  104</a></span>&#160;  vector&lt;vector&lt; double &gt;&gt; <a class="code" href="classSolid.html#aa4fc6367904864de3ef61047a802c1df">wf_np</a>;           </div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classSolid.html#a647b5baad8530e1f8bc5a8feefd9125e">  105</a></span>&#160;  vector&lt;vector&lt; double &gt;&gt; <a class="code" href="classSolid.html#a647b5baad8530e1f8bc5a8feefd9125e">wf_pn_corners</a>;   </div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classSolid.html#a80a0ed28ead9c4874067d12460dda6db">  107</a></span>&#160;  vector&lt;vector&lt; Eigen::Vector3d &gt;&gt; <a class="code" href="classSolid.html#a80a0ed28ead9c4874067d12460dda6db">wfd_pn</a>; </div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classSolid.html#a915eb697bff70c2e891752c5fa7cf9ce">  108</a></span>&#160;  vector&lt;vector&lt; Eigen::Vector3d &gt;&gt; <a class="code" href="classSolid.html#a915eb697bff70c2e891752c5fa7cf9ce">wfd_np</a>; </div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classSolid.html#a627d17d80ba3ab6ccf08379feff4e676">  111</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="classMat.html">Mat</a> *<a class="code" href="classSolid.html#a627d17d80ba3ab6ccf08379feff4e676">mat</a>;                          </div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classSolid.html#a62b64dc283d8a374f44268fe5dfae063">  113</a></span>&#160;  <span class="keyword">class </span><a class="code" href="classGrid.html">Grid</a> *<a class="code" href="classSolid.html#a62b64dc283d8a374f44268fe5dfae063">grid</a>;                         </div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classSolid.html#ae8f5c880313e0c9905cb564115f19601">  115</a></span>&#160;  <span class="keywordtype">string</span> <a class="code" href="classSolid.html#ae8f5c880313e0c9905cb564115f19601">method_type</a>;                       </div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;  <a class="code" href="classSolid.html">Solid</a>(<span class="keyword">class</span> <a class="code" href="classMPM.html">MPM</a> *, vector&lt;string&gt;);       </div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  <span class="keyword">virtual</span> ~<a class="code" href="classSolid.html">Solid</a>();</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classGrid.html#a1fbda731d15cff12497440f731148921">init</a>();                              </div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  <span class="keywordtype">void</span> options(vector&lt;string&gt; *, vector&lt;string&gt;::iterator); </div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classGrid.html#a04de55bfdff52b50a31a7cf32ecfac13">grow</a>(<span class="keywordtype">int</span>);                           </div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;  <span class="keywordtype">void</span> compute_mass_nodes(<span class="keywordtype">bool</span>);                    </div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  <span class="keywordtype">void</span> compute_velocity_nodes(<span class="keywordtype">bool</span>);                </div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;  <span class="keywordtype">void</span> compute_velocity_nodes_APIC(<span class="keywordtype">bool</span>);           </div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;  <span class="keywordtype">void</span> compute_external_forces_nodes(<span class="keywordtype">bool</span>);         </div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;  <span class="keywordtype">void</span> compute_internal_forces_nodes_TL();          </div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;  <span class="keywordtype">void</span> compute_internal_forces_nodes_UL(<span class="keywordtype">bool</span>);      </div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;  <span class="keywordtype">void</span> compute_particle_velocities_and_positions(); </div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  <span class="keywordtype">void</span> compute_particle_acceleration();             </div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;  <span class="keywordtype">void</span> update_particle_velocities(<span class="keywordtype">double</span>);          </div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;  <span class="keywordtype">void</span> compute_rate_deformation_gradient_TL();      </div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  <span class="keywordtype">void</span> compute_rate_deformation_gradient_TL_APIC(); </div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;  <span class="keywordtype">void</span> compute_rate_deformation_gradient_UL_USL();  </div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;  <span class="keywordtype">void</span> compute_rate_deformation_gradient_UL_MUSL(); </div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;  <span class="keywordtype">void</span> compute_rate_deformation_gradient_UL_APIC(); </div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  <span class="keywordtype">void</span> update_deformation_gradient();               </div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;  <span class="keywordtype">void</span> update_stress();                             </div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <span class="keywordtype">void</span> compute_inertia_tensor(<span class="keywordtype">string</span>);              </div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;  <span class="keywordtype">void</span> compute_deformation_gradient();              </div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  <span class="keywordtype">void</span> update_particle_domain();                    </div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;  <span class="keywordtype">void</span> copy_particle(<span class="keywordtype">int</span>, <span class="keywordtype">int</span>);                     </div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;  <span class="keywordtype">void</span> pack_particle(<span class="keywordtype">int</span>, vector&lt;double&gt; &amp;);        </div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  <span class="keywordtype">void</span> unpack_particle(<span class="keywordtype">int</span> &amp;, vector&lt;int&gt;, <span class="keywordtype">double</span>[]); </div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;  <span class="keywordtype">void</span> populate(vector&lt;string&gt;);</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;  <span class="keywordtype">void</span> read_mesh(<span class="keywordtype">string</span>);</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;  <span class="keywordtype">void</span> read_file(<span class="keywordtype">string</span>);</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;  <span class="keyword">const</span> map&lt;string, string&gt; usage ={</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    {<span class="stringliteral">&quot;region&quot;</span>, <span class="stringliteral">&quot;Usage: solid(solid-ID, \033[1;32mregion\033[0m, region-ID, N_ppc1D, material-ID, cell-size, T0)\n&quot;</span>},</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    {<span class="stringliteral">&quot;mesh&quot;</span>,    <span class="stringliteral">&quot;Usage: solid(solid-ID, \033[1;32mmesh\033[0m, meshfile, material-ID, h, T0)\n&quot;</span>},</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    {<span class="stringliteral">&quot;file&quot;</span>,    <span class="stringliteral">&quot;Usage: solid(solid-ID, \033[1;32mfile\033[0m, filename, material-ID, h, T0)\n&quot;</span>}</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;  };</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;  <span class="keyword">const</span> map&lt;string, int&gt;    Nargs = {</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;             {<span class="stringliteral">&quot;region&quot;</span>, 7},</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;             {<span class="stringliteral">&quot;mesh&quot;</span>,   6},</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;             {<span class="stringliteral">&quot;file&quot;</span>,   6}</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;           };</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;  </div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;  <span class="keywordtype">double</span> T0;                     </div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;  <span class="keywordtype">bool</span> is_TL, apic;              </div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;};</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div><div class="ttc" id="classSolid_html_af66d484d99a1bf88c2c6f395c6ef5cb0"><div class="ttname"><a href="classSolid.html#af66d484d99a1bf88c2c6f395c6ef5cb0">Solid::damage_init</a></div><div class="ttdeci">vector&lt; double &gt; damage_init</div><div class="ttdoc">Particles&amp;#39; damage initiation variable. </div><div class="ttdef"><b>Definition:</b> solid.h:88</div></div>
<div class="ttc" id="classSolid_html_a915eb697bff70c2e891752c5fa7cf9ce"><div class="ttname"><a href="classSolid.html#a915eb697bff70c2e891752c5fa7cf9ce">Solid::wfd_np</a></div><div class="ttdeci">vector&lt; vector&lt; Eigen::Vector3d &gt; &gt; wfd_np</div><div class="ttdoc">Array of arrays (matrix) of the derivative of the weight functions  effectively the transpose of wfd_...</div><div class="ttdef"><b>Definition:</b> solid.h:108</div></div>
<div class="ttc" id="classSolid_html_a99f8130c120665a22c666e1ebc03f68c"><div class="ttname"><a href="classSolid.html#a99f8130c120665a22c666e1ebc03f68c">Solid::vol0PK1</a></div><div class="ttdeci">vector&lt; Eigen::Matrix3d &gt; vol0PK1</div><div class="ttdoc">Transpose of the 1st Piola-Kirchhoff matrix times vol0. </div><div class="ttdef"><b>Definition:</b> solid.h:70</div></div>
<div class="ttc" id="classSolid_html_a9360b40e90e66f55bf4b96371d099123"><div class="ttname"><a href="classSolid.html#a9360b40e90e66f55bf4b96371d099123">Solid::T</a></div><div class="ttdeci">vector&lt; double &gt; T</div><div class="ttdoc">Particles&amp;#39; temperature. </div><div class="ttdef"><b>Definition:</b> solid.h:89</div></div>
<div class="ttc" id="classSolid_html_ab30f3cf0cb83d009d522cebade42ecf5"><div class="ttname"><a href="classSolid.html#ab30f3cf0cb83d009d522cebade42ecf5">Solid::sigma</a></div><div class="ttdeci">vector&lt; Eigen::Matrix3d &gt; sigma</div><div class="ttdoc">Stress matrix. </div><div class="ttdef"><b>Definition:</b> solid.h:68</div></div>
<div class="ttc" id="classSolid_html_ae8f5c880313e0c9905cb564115f19601"><div class="ttname"><a href="classSolid.html#ae8f5c880313e0c9905cb564115f19601">Solid::method_type</a></div><div class="ttdeci">string method_type</div><div class="ttdoc">Either tlmpm, tlcpdi, tlcpdi2, ulmpm, ulcpdi, or ulcpdi2 (all kinds of MPM supported) ...</div><div class="ttdef"><b>Definition:</b> solid.h:115</div></div>
<div class="ttc" id="classSolid_html_a098800d2d03607579156e57abe501d20"><div class="ttname"><a href="classSolid.html#a098800d2d03607579156e57abe501d20">Solid::v</a></div><div class="ttdeci">vector&lt; Eigen::Vector3d &gt; v</div><div class="ttdoc">Particles&amp;#39; current velocity. </div><div class="ttdef"><b>Definition:</b> solid.h:60</div></div>
<div class="ttc" id="classGrid_html_a1fbda731d15cff12497440f731148921"><div class="ttname"><a href="classGrid.html#a1fbda731d15cff12497440f731148921">Grid::init</a></div><div class="ttdeci">void init(double *, double *)</div><div class="ttdoc">Create the array of nodes. Give them their position, tag, and type. </div><div class="ttdef"><b>Definition:</b> grid.cpp:79</div></div>
<div class="ttc" id="classSolid_html_abaeff4d98b63626f93c36d9f7d2ec94e"><div class="ttname"><a href="classSolid.html#abaeff4d98b63626f93c36d9f7d2ec94e">Solid::wf_pn</a></div><div class="ttdeci">vector&lt; vector&lt; double &gt; &gt; wf_pn</div><div class="ttdoc">Array of arrays (matrix) of the weight functions . </div><div class="ttdef"><b>Definition:</b> solid.h:103</div></div>
<div class="ttc" id="namespaceEigen_html"><div class="ttname"><a href="namespaceEigen.html">Eigen</a></div></div>
<div class="ttc" id="classSolid_html_a52c355a66e506e56cf56206127c79687"><div class="ttname"><a href="classSolid.html#a52c355a66e506e56cf56206127c79687">Solid::neigh_pn</a></div><div class="ttdeci">vector&lt; vector&lt; int &gt; &gt; neigh_pn</div><div class="ttdoc">List of the nodes neighbouring a given particle. </div><div class="ttdef"><b>Definition:</b> solid.h:100</div></div>
<div class="ttc" id="classSolid_html_a80a0ed28ead9c4874067d12460dda6db"><div class="ttname"><a href="classSolid.html#a80a0ed28ead9c4874067d12460dda6db">Solid::wfd_pn</a></div><div class="ttdeci">vector&lt; vector&lt; Eigen::Vector3d &gt; &gt; wfd_pn</div><div class="ttdoc">Array of arrays (matrix) of the derivative of the weight functions . </div><div class="ttdef"><b>Definition:</b> solid.h:107</div></div>
<div class="ttc" id="classSolid_html_ab844cf723a989d091ed295a92e195a01"><div class="ttname"><a href="classSolid.html#ab844cf723a989d091ed295a92e195a01">Solid::eff_plastic_strain_rate</a></div><div class="ttdeci">vector&lt; double &gt; eff_plastic_strain_rate</div><div class="ttdoc">Particles&amp;#39; effective plastic strain rate. </div><div class="ttdef"><b>Definition:</b> solid.h:86</div></div>
<div class="ttc" id="classMPM_html"><div class="ttname"><a href="classMPM.html">MPM</a></div><div class="ttdef"><b>Definition:</b> mpm.h:29</div></div>
<div class="ttc" id="classGrid_html"><div class="ttname"><a href="classGrid.html">Grid</a></div><div class="ttdef"><b>Definition:</b> grid.h:54</div></div>
<div class="ttc" id="classSolid_html_aa4fc6367904864de3ef61047a802c1df"><div class="ttname"><a href="classSolid.html#aa4fc6367904864de3ef61047a802c1df">Solid::wf_np</a></div><div class="ttdeci">vector&lt; vector&lt; double &gt; &gt; wf_np</div><div class="ttdoc">Array of arrays (matrix) of the weight functions  effectively the transpose of wf_pn. </div><div class="ttdef"><b>Definition:</b> solid.h:104</div></div>
<div class="ttc" id="classSolid_html_ae16964861984431ed2405cde326fec3f"><div class="ttname"><a href="classSolid.html#ae16964861984431ed2405cde326fec3f">Solid::J</a></div><div class="ttdeci">vector&lt; double &gt; J</div><div class="ttdoc">Determinant of the deformation matrix. </div><div class="ttdef"><b>Definition:</b> solid.h:79</div></div>
<div class="ttc" id="classSolid_html_a8cd187bb8c7c1c8c48ec08de08c8e9c0"><div class="ttname"><a href="classSolid.html#a8cd187bb8c7c1c8c48ec08de08c8e9c0">Solid::a</a></div><div class="ttdeci">vector&lt; Eigen::Vector3d &gt; a</div><div class="ttdoc">Particles&amp;#39; acceleration. </div><div class="ttdef"><b>Definition:</b> solid.h:63</div></div>
<div class="ttc" id="classSolid_html_a4937f68a0a4ed22a8921bd9d1ee787c6"><div class="ttname"><a href="classSolid.html#a4937f68a0a4ed22a8921bd9d1ee787c6">Solid::f</a></div><div class="ttdeci">vector&lt; Eigen::Vector3d &gt; f</div><div class="ttdoc">Particles&amp;#39; internal forces. </div><div class="ttdef"><b>Definition:</b> solid.h:66</div></div>
<div class="ttc" id="classSolid_html_ac2c182d6caba2969c8ab563288551cfa"><div class="ttname"><a href="classSolid.html#ac2c182d6caba2969c8ab563288551cfa">Solid::Fdot</a></div><div class="ttdeci">vector&lt; Eigen::Matrix3d &gt; Fdot</div><div class="ttdoc">Rate of deformation gradient matrix. </div><div class="ttdef"><b>Definition:</b> solid.h:76</div></div>
<div class="ttc" id="classSolid_html_a96c832828355e2f95b9cc6d8d82d4b44"><div class="ttname"><a href="classSolid.html#a96c832828355e2f95b9cc6d8d82d4b44">Solid::L</a></div><div class="ttdeci">vector&lt; Eigen::Matrix3d &gt; L</div><div class="ttdoc">Velocity gradient matrix. </div><div class="ttdef"><b>Definition:</b> solid.h:71</div></div>
<div class="ttc" id="classSolid_html_a8c4f6f8682e7379f6bb1aab147b45188"><div class="ttname"><a href="classSolid.html#a8c4f6f8682e7379f6bb1aab147b45188">Solid::x</a></div><div class="ttdeci">vector&lt; Eigen::Vector3d &gt; x</div><div class="ttdoc">Particles&amp;#39; current position. </div><div class="ttdef"><b>Definition:</b> solid.h:50</div></div>
<div class="ttc" id="classSolid_html_ab24e3074e332337edc3a50ac0c7c349f"><div class="ttname"><a href="classSolid.html#ab24e3074e332337edc3a50ac0c7c349f">Solid::F</a></div><div class="ttdeci">vector&lt; Eigen::Matrix3d &gt; F</div><div class="ttdoc">Deformation gradient matrix. </div><div class="ttdef"><b>Definition:</b> solid.h:72</div></div>
<div class="ttc" id="classSolid_html_a156471c290271d5772bd7aaacc1fd141"><div class="ttname"><a href="classSolid.html#a156471c290271d5772bd7aaacc1fd141">Solid::vol</a></div><div class="ttdeci">vector&lt; double &gt; vol</div><div class="ttdoc">Particles&amp;#39; current volume. </div><div class="ttdef"><b>Definition:</b> solid.h:81</div></div>
<div class="ttc" id="classSolid_html_a08b90d10c0416ca437f83376f451f072"><div class="ttname"><a href="classSolid.html#a08b90d10c0416ca437f83376f451f072">Solid::ptag</a></div><div class="ttdeci">vector&lt; tagint &gt; ptag</div><div class="ttdoc">Unique identifier for particles in the system. </div><div class="ttdef"><b>Definition:</b> solid.h:45</div></div>
<div class="ttc" id="classSolid_html_a771d592f353985bf575f1235c910013f"><div class="ttname"><a href="classSolid.html#a771d592f353985bf575f1235c910013f">Solid::id</a></div><div class="ttdeci">string id</div><div class="ttdoc">Solid id. </div><div class="ttdef"><b>Definition:</b> solid.h:38</div></div>
<div class="ttc" id="classSolid_html_a0921b8952e0e7f7023d2167db264a826"><div class="ttname"><a href="classSolid.html#a0921b8952e0e7f7023d2167db264a826">Solid::rho0</a></div><div class="ttdeci">vector&lt; double &gt; rho0</div><div class="ttdoc">Particles&amp;#39; reference density. </div><div class="ttdef"><b>Definition:</b> solid.h:82</div></div>
<div class="ttc" id="classSolid_html_a7debcbf83f8da327beedc96e43279bc8"><div class="ttname"><a href="classSolid.html#a7debcbf83f8da327beedc96e43279bc8">Solid::D</a></div><div class="ttdeci">vector&lt; Eigen::Matrix3d &gt; D</div><div class="ttdoc">Symmetric part of L. </div><div class="ttdef"><b>Definition:</b> solid.h:74</div></div>
<div class="ttc" id="classSolid_html_a64af6fa84058934e53affdc750281c0a"><div class="ttname"><a href="classSolid.html#a64af6fa84058934e53affdc750281c0a">Solid::np</a></div><div class="ttdeci">bigint np</div><div class="ttdoc">Total number of particles in the domain. </div><div class="ttdef"><b>Definition:</b> solid.h:39</div></div>
<div class="ttc" id="classSolid_html_a88fe233444aeb9e0c919bb1f9d64de93"><div class="ttname"><a href="classSolid.html#a88fe233444aeb9e0c919bb1f9d64de93">Solid::mtot</a></div><div class="ttdeci">double mtot</div><div class="ttdoc">Total mass. </div><div class="ttdef"><b>Definition:</b> solid.h:43</div></div>
<div class="ttc" id="classSolid_html_ac0a137db6950e7f95a99a938a5dbd66b"><div class="ttname"><a href="classSolid.html#ac0a137db6950e7f95a99a938a5dbd66b">Solid::rp0</a></div><div class="ttdeci">vector&lt; Eigen::Vector3d &gt; rp0</div><div class="ttdoc">Reference domain vector (CPDI1) </div><div class="ttdef"><b>Definition:</b> solid.h:55</div></div>
<div class="ttc" id="classSolid_html_aee7225f643e57e61dd1d07942cb7b70e"><div class="ttname"><a href="classSolid.html#aee7225f643e57e61dd1d07942cb7b70e">Solid::vtot</a></div><div class="ttdeci">double vtot</div><div class="ttdoc">Total volume. </div><div class="ttdef"><b>Definition:</b> solid.h:42</div></div>
<div class="ttc" id="classSolid_html_a60e8959630229b3c18b34959b5e72eda"><div class="ttname"><a href="classSolid.html#a60e8959630229b3c18b34959b5e72eda">Solid::numneigh_np</a></div><div class="ttdeci">vector&lt; int &gt; numneigh_np</div><div class="ttdoc">Number of nodes neighbouring a given node. </div><div class="ttdef"><b>Definition:</b> solid.h:99</div></div>
<div class="ttc" id="classSolid_html_aac7104d1b271229b2f2297602bf4b6f6"><div class="ttname"><a href="classSolid.html#aac7104d1b271229b2f2297602bf4b6f6">Solid::comm_n</a></div><div class="ttdeci">int comm_n</div><div class="ttdoc">Number of double to pack for particle exchange between CPU. </div><div class="ttdef"><b>Definition:</b> solid.h:41</div></div>
<div class="ttc" id="classSolid_html_a04427c65af63fe2dcd1e1f38b8c6b7d4"><div class="ttname"><a href="classSolid.html#a04427c65af63fe2dcd1e1f38b8c6b7d4">Solid::rho</a></div><div class="ttdeci">vector&lt; double &gt; rho</div><div class="ttdoc">Particles&amp;#39; current density. </div><div class="ttdef"><b>Definition:</b> solid.h:83</div></div>
<div class="ttc" id="classSolid_html_a9d6e4ad90d094ed232569f19f3cb7d95"><div class="ttname"><a href="classSolid.html#a9d6e4ad90d094ed232569f19f3cb7d95">Solid::damage</a></div><div class="ttdeci">vector&lt; double &gt; damage</div><div class="ttdoc">Particles&amp;#39; damage variable. </div><div class="ttdef"><b>Definition:</b> solid.h:87</div></div>
<div class="ttc" id="classSolid_html_a68000a14e932c9d485959bbcdd696e35"><div class="ttname"><a href="classSolid.html#a68000a14e932c9d485959bbcdd696e35">Solid::nc</a></div><div class="ttdeci">int nc</div><div class="ttdoc">Number of corners per particles: . </div><div class="ttdef"><b>Definition:</b> solid.h:58</div></div>
<div class="ttc" id="classSolid_html_adfe636df56b69b2f22cdf6510ac8fc18"><div class="ttname"><a href="classSolid.html#adfe636df56b69b2f22cdf6510ac8fc18">Solid::R</a></div><div class="ttdeci">vector&lt; Eigen::Matrix3d &gt; R</div><div class="ttdoc">Rotation matrix. </div><div class="ttdef"><b>Definition:</b> solid.h:73</div></div>
<div class="ttc" id="classSolid_html"><div class="ttname"><a href="classSolid.html">Solid</a></div><div class="ttdef"><b>Definition:</b> solid.h:36</div></div>
<div class="ttc" id="classSolid_html_a5732fbf51a00b533f04c62d6f310c646"><div class="ttname"><a href="classSolid.html#a5732fbf51a00b533f04c62d6f310c646">Solid::mass</a></div><div class="ttdeci">vector&lt; double &gt; mass</div><div class="ttdoc">Particles&amp;#39; current mass. </div><div class="ttdef"><b>Definition:</b> solid.h:84</div></div>
<div class="ttc" id="classSolid_html_af75c04b1ad8cec17173e8acaa6319568"><div class="ttname"><a href="classSolid.html#af75c04b1ad8cec17173e8acaa6319568">Solid::mask</a></div><div class="ttdeci">vector&lt; int &gt; mask</div><div class="ttdoc">Particles&amp;#39; group mask. </div><div class="ttdef"><b>Definition:</b> solid.h:92</div></div>
<div class="ttc" id="classSolid_html_a918cb701b55d4e8e6fec2d89e3db6475"><div class="ttname"><a href="classSolid.html#a918cb701b55d4e8e6fec2d89e3db6475">Solid::v_update</a></div><div class="ttdeci">vector&lt; Eigen::Vector3d &gt; v_update</div><div class="ttdoc">Particles&amp;#39; velocity at time t+dt. </div><div class="ttdef"><b>Definition:</b> solid.h:61</div></div>
<div class="ttc" id="classSolid_html_ae1c3a1948f3ede54103ec5568b9ad608"><div class="ttname"><a href="classSolid.html#ae1c3a1948f3ede54103ec5568b9ad608">Solid::pH_regu</a></div><div class="ttdeci">vector&lt; double &gt; pH_regu</div><div class="ttdoc">Particles&amp;#39; regularized hydrostatic pressure. </div><div class="ttdef"><b>Definition:</b> solid.h:91</div></div>
<div class="ttc" id="classSolid_html_a3889ec4cc14bddb5173ab8786a84353c"><div class="ttname"><a href="classSolid.html#a3889ec4cc14bddb5173ab8786a84353c">Solid::eff_plastic_strain</a></div><div class="ttdeci">vector&lt; double &gt; eff_plastic_strain</div><div class="ttdoc">Particles&amp;#39; effective plastic strain. </div><div class="ttdef"><b>Definition:</b> solid.h:85</div></div>
<div class="ttc" id="classSolid_html_aa7d152598188767ccc3bbdefb21e2b8c"><div class="ttname"><a href="classSolid.html#aa7d152598188767ccc3bbdefb21e2b8c">Solid::rp</a></div><div class="ttdeci">vector&lt; Eigen::Vector3d &gt; rp</div><div class="ttdoc">Current domain vector (CPDI1) </div><div class="ttdef"><b>Definition:</b> solid.h:54</div></div>
<div class="ttc" id="classSolid_html_a6c1b0a0c697475c2facdc4440577629d"><div class="ttname"><a href="classSolid.html#a6c1b0a0c697475c2facdc4440577629d">Solid::numneigh_pn</a></div><div class="ttdeci">vector&lt; int &gt; numneigh_pn</div><div class="ttdoc">Number of nodes neighbouring a given particle. </div><div class="ttdef"><b>Definition:</b> solid.h:98</div></div>
<div class="ttc" id="classSolid_html_a5a2efd6e797c3fb86a4176dba6188bce"><div class="ttname"><a href="classSolid.html#a5a2efd6e797c3fb86a4176dba6188bce">Solid::x0</a></div><div class="ttdeci">vector&lt; Eigen::Vector3d &gt; x0</div><div class="ttdoc">Particles&amp;#39; reference position. </div><div class="ttdef"><b>Definition:</b> solid.h:51</div></div>
<div class="ttc" id="classSolid_html_a3a6cdb55e77f6f3b354498652aad8b3f"><div class="ttname"><a href="classSolid.html#a3a6cdb55e77f6f3b354498652aad8b3f">Solid::Finv</a></div><div class="ttdeci">vector&lt; Eigen::Matrix3d &gt; Finv</div><div class="ttdoc">Inverse of the deformation gradient matrix. </div><div class="ttdef"><b>Definition:</b> solid.h:75</div></div>
<div class="ttc" id="classSolid_html_a62b64dc283d8a374f44268fe5dfae063"><div class="ttname"><a href="classSolid.html#a62b64dc283d8a374f44268fe5dfae063">Solid::grid</a></div><div class="ttdeci">class Grid * grid</div><div class="ttdoc">Pointer to the background grid. </div><div class="ttdef"><b>Definition:</b> solid.h:113</div></div>
<div class="ttc" id="classSolid_html_a647b5baad8530e1f8bc5a8feefd9125e"><div class="ttname"><a href="classSolid.html#a647b5baad8530e1f8bc5a8feefd9125e">Solid::wf_pn_corners</a></div><div class="ttdeci">vector&lt; vector&lt; double &gt; &gt; wf_pn_corners</div><div class="ttdoc">Array of arrays (matrix) of the weight functions  evaluated at the corners of the particle&amp;#39;s domain (...</div><div class="ttdef"><b>Definition:</b> solid.h:105</div></div>
<div class="ttc" id="classMat_html"><div class="ttname"><a href="classMat.html">Mat</a></div><div class="ttdef"><b>Definition:</b> material.h:45</div></div>
<div class="ttc" id="classSolid_html_a9f24e3b981bfa23386ea57173498dbc4"><div class="ttname"><a href="classSolid.html#a9f24e3b981bfa23386ea57173498dbc4">Solid::xpc</a></div><div class="ttdeci">vector&lt; Eigen::Vector3d &gt; xpc</div><div class="ttdoc">Current position of the corners of the particles&amp;#39; domain (CPDI2o) </div><div class="ttdef"><b>Definition:</b> solid.h:56</div></div>
<div class="ttc" id="classSolid_html_a67c4edb04af12e80ca6e3ea375b48569"><div class="ttname"><a href="classSolid.html#a67c4edb04af12e80ca6e3ea375b48569">Solid::strain_el</a></div><div class="ttdeci">vector&lt; Eigen::Matrix3d &gt; strain_el</div><div class="ttdoc">Elastic strain matrix. </div><div class="ttdef"><b>Definition:</b> solid.h:69</div></div>
<div class="ttc" id="classSolid_html_a3f07240b8a69ebc94c2b804dc0ba17d6"><div class="ttname"><a href="classSolid.html#a3f07240b8a69ebc94c2b804dc0ba17d6">Solid::xpc0</a></div><div class="ttdeci">vector&lt; Eigen::Vector3d &gt; xpc0</div><div class="ttdoc">Reference position of the corners of the particles&amp;#39; domain (CPDI2) </div><div class="ttdef"><b>Definition:</b> solid.h:57</div></div>
<div class="ttc" id="classPointers_html"><div class="ttname"><a href="classPointers.html">Pointers</a></div><div class="ttdef"><b>Definition:</b> pointers.h:29</div></div>
<div class="ttc" id="classSolid_html_a13832fcbe5b124ee4f4e1c143ea06560"><div class="ttname"><a href="classSolid.html#a13832fcbe5b124ee4f4e1c143ea06560">Solid::mbp</a></div><div class="ttdeci">vector&lt; Eigen::Vector3d &gt; mbp</div><div class="ttdoc">Particles&amp;#39; external forces times mass. </div><div class="ttdef"><b>Definition:</b> solid.h:65</div></div>
<div class="ttc" id="classSolid_html_a88e0782ec40502f1f2164eb00c137f08"><div class="ttname"><a href="classSolid.html#a88e0782ec40502f1f2164eb00c137f08">Solid::neigh_np</a></div><div class="ttdeci">vector&lt; vector&lt; int &gt; &gt; neigh_np</div><div class="ttdoc">List of the particles neighbouring a given node. </div><div class="ttdef"><b>Definition:</b> solid.h:101</div></div>
<div class="ttc" id="classSolid_html_aa98af10fa7a2f269847ffc07898e1647"><div class="ttname"><a href="classSolid.html#aa98af10fa7a2f269847ffc07898e1647">Solid::np_local</a></div><div class="ttdeci">int np_local</div><div class="ttdoc">Number of local particles (in this CPU) </div><div class="ttdef"><b>Definition:</b> solid.h:40</div></div>
<div class="ttc" id="classSolid_html_a8c90f9e2e46fdcec899626dc09f10222"><div class="ttname"><a href="classSolid.html#a8c90f9e2e46fdcec899626dc09f10222">Solid::max_p_wave_speed</a></div><div class="ttdeci">double max_p_wave_speed</div><div class="ttdoc">Maximum of the particle wave speed. </div><div class="ttdef"><b>Definition:</b> solid.h:95</div></div>
<div class="ttc" id="classSolid_html_a627d17d80ba3ab6ccf08379feff4e676"><div class="ttname"><a href="classSolid.html#a627d17d80ba3ab6ccf08379feff4e676">Solid::mat</a></div><div class="ttdeci">struct Mat * mat</div><div class="ttdoc">Pointer to the material. </div><div class="ttdef"><b>Definition:</b> solid.h:111</div></div>
<div class="ttc" id="classGrid_html_a04de55bfdff52b50a31a7cf32ecfac13"><div class="ttname"><a href="classGrid.html#a04de55bfdff52b50a31a7cf32ecfac13">Grid::grow</a></div><div class="ttdeci">void grow(int)</div><div class="ttdoc">Allocate memory for the vectors used for local nodes or resize them. </div><div class="ttdef"><b>Definition:</b> grid.cpp:460</div></div>
<div class="ttc" id="classSolid_html_ad70464718cb4e3e177eb53dd267abf14"><div class="ttname"><a href="classSolid.html#ad70464718cb4e3e177eb53dd267abf14">Solid::Di</a></div><div class="ttdeci">vector&lt; Eigen::Matrix3d &gt; Di</div><div class="ttdoc">Inertia tensor. </div><div class="ttdef"><b>Definition:</b> solid.h:77</div></div>
<div class="ttc" id="classSolid_html_aafddf7773c6ee9a2d9be11b1e2e3bef8"><div class="ttname"><a href="classSolid.html#aafddf7773c6ee9a2d9be11b1e2e3bef8">Solid::ienergy</a></div><div class="ttdeci">vector&lt; double &gt; ienergy</div><div class="ttdoc">Particles&amp;#39; internal energy. </div><div class="ttdef"><b>Definition:</b> solid.h:90</div></div>
<div class="ttc" id="classSolid_html_a558d29bb506fa312acbf30b54464ae73"><div class="ttname"><a href="classSolid.html#a558d29bb506fa312acbf30b54464ae73">Solid::vol0</a></div><div class="ttdeci">vector&lt; double &gt; vol0</div><div class="ttdoc">Particles&amp;#39; reference volume. </div><div class="ttdef"><b>Definition:</b> solid.h:80</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>solid.h</b></li>
    <li class="footer">Generated on Tue Jul 7 2020 22:31:23 for Karamelo by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
<!-- Matomo -->
<script type="text/javascript">
  var _paq = _paq || [];
  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//stats.sylphide-consulting.com/matomo/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', '20']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<noscript><p><img src="//stats.sylphide-consulting.com/matomo/piwik.php?idsite=20&rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->
</body>
</html>
